const axios = require('axios')
const baseURL = 'http://localhost:3000'

// 获取用户列表
export async function getRigthsList (params) {
  console.log('获取权限列表')
  console.log(params)
  return await axios({
    method: 'post',
    url: baseURL + '/api/getRigthsList',
    data: {
      ...params
    }
  })
}
